<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>fanfou.Fanfou</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="fanfou-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="fanfou-module.html">Module&nbsp;fanfou</a> ::
        Class&nbsp;Fanfou
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="fanfou.Fanfou-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class Fanfou</h1><p class="nomargin-top"><span class="codelink"><a href="fanfou-pysrc.html#Fanfou">source&nbsp;code</a></span></p>
wrap all API of fanfou.com into this Fanfou class.

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="__init__"></a><span class="summary-sig-name">__init__</span>(<span class="summary-sig-arg">self</span>)</span></td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getUrlPage" class="summary-sig-name">getUrlPage</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">link</span>)</span><br />
      get URL page from link -&gt; string, page result of the link</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUrlPage">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#parseTimeLine" class="summary-sig-name">parseTimeLine</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data</span>)</span><br />
      parse time line -&gt; list, each item is a instance of Status</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseTimeLine">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#parseStatus" class="summary-sig-name">parseStatus</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data</span>)</span><br />
      parse status -&gt; a Status instance, parsed from input XML string</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseStatus">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#parseUser" class="summary-sig-name">parseUser</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data</span>)</span><br />
      parse user info -&gt; a User instance, parsed from input XML string</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseUser">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getUserTimeLine" class="summary-sig-name">getUserTimeLine</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>,
        <span class="summary-sig-arg">count</span>=<span class="summary-sig-default">20</span>)</span><br />
      display user message(s) -&gt; list, each item a Status instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUserTimeLine">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getFriendsTimeLine" class="summary-sig-name">getFriendsTimeLine</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>,
        <span class="summary-sig-arg">count</span>=<span class="summary-sig-default">20</span>)</span><br />
      display user and his/her friends message(s) -&gt; list,
each item a Status instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFriendsTimeLine">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getPublicTimeLine" class="summary-sig-name">getPublicTimeLine</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">count</span>=<span class="summary-sig-default">20</span>)</span><br />
      show random message(s) -&gt; list, each item a Status instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getPublicTimeLine">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getStatus" class="summary-sig-name">getStatus</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      show specific message -&gt; a Status instance, parsed from input XML string.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getStatus">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#statusesUpdate" class="summary-sig-name">statusesUpdate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">status</span>,
        <span class="summary-sig-arg">source</span>=<span class="summary-sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span><br />
      submit a Fanfou message.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.statusesUpdate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#statusesDestroy" class="summary-sig-name">statusesDestroy</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      delete message
THIS FEATURE WILL BE SUPPORTED LATTER</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.statusesDestroy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#parseUsers" class="summary-sig-name">parseUsers</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">data</span>)</span><br />
      parse users -&gt; a list, each item is a User instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseUsers">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getFriends" class="summary-sig-name">getFriends</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      show friends of current user -&gt; a list, each item is User instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFriends">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getFollows" class="summary-sig-name">getFollows</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      show follows of current user -&gt; a list, each item is User instance.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFollows">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#getUser" class="summary-sig-name">getUser</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      show user info -&gt; a User instance, parsed from input XML string.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUser">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#friendshipsCreate" class="summary-sig-name">friendshipsCreate</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      add a new friend.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.friendshipsCreate">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#friendshipsDestroy" class="summary-sig-name">friendshipsDestroy</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      delete a friend.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.friendshipsDestroy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#privateMessagesInbox" class="summary-sig-name">privateMessagesInbox</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">count</span>=<span class="summary-sig-default">20</span>)</span><br />
      display user private message.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesInbox">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#privateMessagesNew" class="summary-sig-name">privateMessagesNew</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">user</span>,
        <span class="summary-sig-arg">text</span>)</span><br />
      send a private message.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesNew">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="fanfou.Fanfou-class.html#privateMessagesDestroy" class="summary-sig-name">privateMessagesDestroy</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">id</span>)</span><br />
      delete a private message.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesDestroy">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="one"></a><span class="summary-sig-name">one</span>(<span class="summary-sig-arg">self</span>)</span><br />
      a simple function to test testFanfou.py</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="fanfou-pysrc.html#Fanfou.one">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="getUrlPage"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getUrlPage</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">link</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUrlPage">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  get URL page from link -&gt; string, page result of the link
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>link</code></strong> - url you want to retrieve.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="parseTimeLine"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">parseTimeLine</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseTimeLine">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  parse time line -&gt; list, each item is a instance of Status
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>data</code></strong> - XML string, time line.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="parseStatus"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">parseStatus</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseStatus">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  parse status -&gt; a Status instance, parsed from input XML string
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>data</code></strong> - XML string, time line.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="parseUser"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">parseUser</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseUser">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  parse user info -&gt; a User instance, parsed from input XML string
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>data</code></strong> - XML string, time line.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getUserTimeLine"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getUserTimeLine</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>,
        <span class="sig-arg">count</span>=<span class="sig-default">20</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUserTimeLine">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  display user message(s) -&gt; list, each item a Status instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id</li>
        <li><strong class="pname"><code>count</code></strong> - range 1~20, default value is 20.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getFriendsTimeLine"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getFriendsTimeLine</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>,
        <span class="sig-arg">count</span>=<span class="sig-default">20</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFriendsTimeLine">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  display user and his/her friends message(s) -&gt; list,
each item a Status instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id</li>
        <li><strong class="pname"><code>count</code></strong> - range 1~20, default vlalue is 20.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getPublicTimeLine"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getPublicTimeLine</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">count</span>=<span class="sig-default">20</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getPublicTimeLine">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  show random message(s) -&gt; list, each item a Status instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>count</code></strong> - range 1~20, default vlalue is 20.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getStatus"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getStatus</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getStatus">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  show specific message -&gt; a Status instance, parsed from input XML string.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - message id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="statusesUpdate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">statusesUpdate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">status</span>,
        <span class="sig-arg">source</span>=<span class="sig-default"><code class="variable-quote">'</code><code class="variable-string"></code><code class="variable-quote">'</code></span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.statusesUpdate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  submit a Fanfou message.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>status</code></strong> - content of current Fanfou message</li>
        <li><strong class="pname"><code>source</code></strong> - source of current Fanfou message. This parameter is optional.
This should be approved by Fanfou.com to match their database.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="statusesDestroy"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">statusesDestroy</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.statusesDestroy">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  delete message
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - message id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="parseUsers"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">parseUsers</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">data</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.parseUsers">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  parse users -&gt; a list, each item is a User instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>data</code></strong> - input XML string.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getFriends"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getFriends</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFriends">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  show friends of current user -&gt; a list, each item is User instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getFollows"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getFollows</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getFollows">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  show follows of current user -&gt; a list, each item is User instance.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="getUser"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">getUser</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.getUser">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  show user info -&gt; a User instance, parsed from input XML string.
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="friendshipsCreate"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">friendshipsCreate</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.friendshipsCreate">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  add a new friend.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="friendshipsDestroy"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">friendshipsDestroy</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.friendshipsDestroy">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  delete a friend.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - user id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="privateMessagesInbox"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">privateMessagesInbox</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">count</span>=<span class="sig-default">20</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesInbox">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  display user private message.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>count</code></strong> - range 1~20, default value is 20.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="privateMessagesNew"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">privateMessagesNew</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">user</span>,
        <span class="sig-arg">text</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesNew">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  send a private message.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>user</code></strong> - the receipent.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="privateMessagesDestroy"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">privateMessagesDestroy</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">id</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="fanfou-pysrc.html#Fanfou.privateMessagesDestroy">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  delete a private message.
THIS FEATURE WILL BE SUPPORTED LATTER
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>id</code></strong> - private message id.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="fanfou-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Mar 10 17:51:55 2008
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
